package View;

import Engine.Engine;
import java.awt.Color;
import javax.swing.JOptionPane;

public class Principal_ extends javax.swing.JFrame {

    public Principal_() {
        initComponents();        
        switch (System.getProperty("os.name")) {
            case "Windows 7":
                setIconImage(getToolkit().getImage("C:\\Program Files (x86)\\Cubesoft\\src\\Imagens\\icones.png"));
                break;
            case "Windows NT (unknown)":
                setIconImage(getToolkit().getImage("C:\\Program Files (x86)\\Cubesoft\\src\\Imagens\\icones.png"));
                break;
            default:
                setIconImage(getToolkit().getImage("C:\\Arquivos de programas\\Cubesoft\\src\\Imagens\\icones.png"));
                break;
        }
        Engine eng = new Engine();
        eng.unMap();
        Principal_.jLabel26.setVisible(false);
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        Banner = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        jLabel27 = new javax.swing.JLabel();
        jLabel28 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();
        PaginaStatus = new javax.swing.JPanel();
        jLabel5 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        PaginaStatusService = new javax.swing.JPanel();
        jLabel6 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        textoLivre = new javax.swing.JPanel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        TesteCor = new javax.swing.JPanel();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        Rename = new javax.swing.JPanel();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        Anular = new javax.swing.JPanel();
        jLabel15 = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        jButton1 = new javax.swing.JButton();
        PressGO = new javax.swing.JPanel();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        Egre = new javax.swing.JPanel();
        jLabel20 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        Paper = new javax.swing.JPanel();
        jLabel22 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        jLabel24 = new javax.swing.JLabel();
        jLabel25 = new javax.swing.JLabel();
        jLabel26 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Cpress v4.00 Express");
        setResizable(false);

        Banner.setBackground(new java.awt.Color(0, 128, 255));
        Banner.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                BannerMouseEntered(evt);
            }
        });

        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/NOVO LOGO CUBESOFT NEGATIVO.png"))); // NOI18N
        jLabel1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jLabel1MouseClicked(evt);
            }
        });

        jLabel2.setFont(new java.awt.Font("Microsoft JhengHei", 1, 18)); // NOI18N
        jLabel2.setForeground(new java.awt.Color(255, 255, 255));
        jLabel2.setText("Informações");

        jLabel3.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel3.setForeground(new java.awt.Color(255, 255, 255));
        jLabel3.setText("Há alguns equipamentos não compatíveis");

        jLabel4.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel4.setForeground(new java.awt.Color(255, 255, 255));
        jLabel4.setText("com os comandos Prescribe.");

        jLabel19.setFont(new java.awt.Font("Microsoft JhengHei", 0, 12)); // NOI18N
        jLabel19.setForeground(new java.awt.Color(255, 255, 255));
        jLabel19.setText("Avançado > > >");
        jLabel19.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jLabel19MouseClicked(evt);
            }
        });

        jLabel27.setBackground(new java.awt.Color(255, 255, 255));
        jLabel27.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel27.setForeground(new java.awt.Color(255, 255, 255));
        jLabel27.setText("Ao usar um equipamento com NetBEUI desativado,");

        jLabel28.setBackground(new java.awt.Color(255, 255, 255));
        jLabel28.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel28.setForeground(new java.awt.Color(255, 255, 255));
        jLabel28.setText("use o modo \"Criar mapeamento por IP\".");

        javax.swing.GroupLayout BannerLayout = new javax.swing.GroupLayout(Banner);
        Banner.setLayout(BannerLayout);
        BannerLayout.setHorizontalGroup(
            BannerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, BannerLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jLabel19)
                .addContainerGap())
            .addGroup(BannerLayout.createSequentialGroup()
                .addGap(30, 30, 30)
                .addGroup(BannerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel28)
                    .addGroup(BannerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel2)
                        .addComponent(jLabel3))
                    .addComponent(jLabel27))
                .addContainerGap(37, Short.MAX_VALUE))
        );
        BannerLayout.setVerticalGroup(
            BannerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(BannerLayout.createSequentialGroup()
                .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel2)
                .addGap(20, 20, 20)
                .addComponent(jLabel3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel4)
                .addGap(39, 39, 39)
                .addComponent(jLabel27)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel28)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jLabel19)
                .addContainerGap())
        );

        jTextField1.setForeground(new java.awt.Color(0, 128, 255));
        jTextField1.setBorder(javax.swing.BorderFactory.createEtchedBorder(null, new java.awt.Color(0, 128, 255)));

        PaginaStatus.setBackground(new java.awt.Color(255, 255, 255));
        PaginaStatus.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                PaginaStatusMouseClicked(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                PaginaStatusMouseEntered(evt);
            }
        });

        jLabel5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/Pagina de status.png"))); // NOI18N

        jLabel7.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel7.setForeground(new java.awt.Color(153, 153, 153));
        jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel7.setText("Pagina de status");

        javax.swing.GroupLayout PaginaStatusLayout = new javax.swing.GroupLayout(PaginaStatus);
        PaginaStatus.setLayout(PaginaStatusLayout);
        PaginaStatusLayout.setHorizontalGroup(
            PaginaStatusLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE)
            .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        PaginaStatusLayout.setVerticalGroup(
            PaginaStatusLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PaginaStatusLayout.createSequentialGroup()
                .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel7))
        );

        PaginaStatusService.setBackground(new java.awt.Color(255, 255, 255));
        PaginaStatusService.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                PaginaStatusServiceMouseEntered(evt);
            }
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                PaginaStatusServiceMouseClicked(evt);
            }
        });

        jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/Pagina de services status.png"))); // NOI18N

        jLabel8.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel8.setForeground(new java.awt.Color(153, 153, 153));
        jLabel8.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel8.setText("Página de status de serviço");

        javax.swing.GroupLayout PaginaStatusServiceLayout = new javax.swing.GroupLayout(PaginaStatusService);
        PaginaStatusService.setLayout(PaginaStatusServiceLayout);
        PaginaStatusServiceLayout.setHorizontalGroup(
            PaginaStatusServiceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE)
        );
        PaginaStatusServiceLayout.setVerticalGroup(
            PaginaStatusServiceLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PaginaStatusServiceLayout.createSequentialGroup()
                .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel8))
        );

        textoLivre.setBackground(new java.awt.Color(255, 255, 255));
        textoLivre.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                textoLivreMouseEntered(evt);
            }
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                textoLivreMouseClicked(evt);
            }
        });

        jLabel9.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel9.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/TextoLivre.png"))); // NOI18N

        jLabel10.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel10.setForeground(new java.awt.Color(153, 153, 153));
        jLabel10.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel10.setText("Texto avulso");

        javax.swing.GroupLayout textoLivreLayout = new javax.swing.GroupLayout(textoLivre);
        textoLivre.setLayout(textoLivreLayout);
        textoLivreLayout.setHorizontalGroup(
            textoLivreLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jLabel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        textoLivreLayout.setVerticalGroup(
            textoLivreLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(textoLivreLayout.createSequentialGroup()
                .addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel10))
        );

        TesteCor.setBackground(new java.awt.Color(255, 255, 255));
        TesteCor.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                TesteCorMouseClicked(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                TesteCorMouseEntered(evt);
            }
        });

        jLabel11.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel11.setForeground(new java.awt.Color(153, 153, 153));
        jLabel11.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel11.setText("Teste de cor");

        jLabel12.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel12.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/TesteCor.png"))); // NOI18N

        javax.swing.GroupLayout TesteCorLayout = new javax.swing.GroupLayout(TesteCor);
        TesteCor.setLayout(TesteCorLayout);
        TesteCorLayout.setHorizontalGroup(
            TesteCorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jLabel12, javax.swing.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE)
        );
        TesteCorLayout.setVerticalGroup(
            TesteCorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, TesteCorLayout.createSequentialGroup()
                .addComponent(jLabel12, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel11))
        );

        Rename.setBackground(new java.awt.Color(255, 255, 255));
        Rename.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                RenameMouseEntered(evt);
            }
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                RenameMouseClicked(evt);
            }
        });

        jLabel13.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel13.setForeground(new java.awt.Color(153, 153, 153));
        jLabel13.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel13.setText("Repor nome original");

        jLabel14.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel14.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/rename.png"))); // NOI18N

        javax.swing.GroupLayout RenameLayout = new javax.swing.GroupLayout(Rename);
        Rename.setLayout(RenameLayout);
        RenameLayout.setHorizontalGroup(
            RenameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel13, javax.swing.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE)
            .addComponent(jLabel14, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        RenameLayout.setVerticalGroup(
            RenameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, RenameLayout.createSequentialGroup()
                .addComponent(jLabel14, javax.swing.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel13))
        );

        Anular.setBackground(new java.awt.Color(255, 255, 255));
        Anular.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                AnularMouseEntered(evt);
            }
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                AnularMouseClicked(evt);
            }
        });

        jLabel15.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel15.setForeground(new java.awt.Color(153, 153, 153));
        jLabel15.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel15.setText("Anular A4 / Carta");

        jLabel16.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel16.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/Anular.png"))); // NOI18N

        javax.swing.GroupLayout AnularLayout = new javax.swing.GroupLayout(Anular);
        Anular.setLayout(AnularLayout);
        AnularLayout.setHorizontalGroup(
            AnularLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel15, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jLabel16, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        AnularLayout.setVerticalGroup(
            AnularLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, AnularLayout.createSequentialGroup()
                .addComponent(jLabel16, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel15))
        );

        jButton1.setBackground(new java.awt.Color(255, 255, 255));
        jButton1.setFont(new java.awt.Font("Microsoft JhengHei", 0, 12)); // NOI18N
        jButton1.setForeground(new java.awt.Color(0, 128, 255));
        jButton1.setText("Criar mapeamento por IP");
        jButton1.setBorder(null);
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        PressGO.setBackground(new java.awt.Color(255, 255, 255));
        PressGO.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                PressGOMouseEntered(evt);
            }
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                PressGOMouseClicked(evt);
            }
        });

        jLabel17.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel17.setForeground(new java.awt.Color(153, 153, 153));
        jLabel17.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel17.setText("Anular Press GO");

        jLabel18.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel18.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/PressGO.png"))); // NOI18N

        javax.swing.GroupLayout PressGOLayout = new javax.swing.GroupLayout(PressGO);
        PressGO.setLayout(PressGOLayout);
        PressGOLayout.setHorizontalGroup(
            PressGOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel17, javax.swing.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE)
            .addComponent(jLabel18, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        PressGOLayout.setVerticalGroup(
            PressGOLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PressGOLayout.createSequentialGroup()
                .addComponent(jLabel18, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel17))
        );

        Egre.setBackground(new java.awt.Color(255, 255, 255));
        Egre.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                EgreMouseEntered(evt);
            }
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                EgreMouseClicked(evt);
            }
        });

        jLabel20.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel20.setForeground(new java.awt.Color(153, 153, 153));
        jLabel20.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel20.setText("Reset geral");

        jLabel21.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel21.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/EGRE.png"))); // NOI18N

        javax.swing.GroupLayout EgreLayout = new javax.swing.GroupLayout(Egre);
        Egre.setLayout(EgreLayout);
        EgreLayout.setHorizontalGroup(
            EgreLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel20, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jLabel21, javax.swing.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE)
        );
        EgreLayout.setVerticalGroup(
            EgreLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, EgreLayout.createSequentialGroup()
                .addComponent(jLabel21, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel20))
        );

        Paper.setBackground(new java.awt.Color(255, 255, 255));
        Paper.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                PaperMouseClicked(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                PaperMouseEntered(evt);
            }
        });

        jLabel22.setFont(new java.awt.Font("Microsoft JhengHei", 0, 10)); // NOI18N
        jLabel22.setForeground(new java.awt.Color(153, 153, 153));
        jLabel22.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel22.setText("Configuração de papel");

        jLabel23.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel23.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/configuracao.png"))); // NOI18N

        javax.swing.GroupLayout PaperLayout = new javax.swing.GroupLayout(Paper);
        Paper.setLayout(PaperLayout);
        PaperLayout.setHorizontalGroup(
            PaperLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel22, javax.swing.GroupLayout.DEFAULT_SIZE, 150, Short.MAX_VALUE)
            .addComponent(jLabel23, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        PaperLayout.setVerticalGroup(
            PaperLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PaperLayout.createSequentialGroup()
                .addComponent(jLabel23, javax.swing.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel22))
        );

        jLabel24.setFont(new java.awt.Font("Microsoft JhengHei", 1, 12)); // NOI18N
        jLabel24.setForeground(new java.awt.Color(0, 128, 255));
        jLabel24.setText("Host");

        jLabel25.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel25.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/Nova Logo Cubesoft.png"))); // NOI18N

        jLabel26.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagens/Fechar.png"))); // NOI18N
        jLabel26.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jLabel26MouseClicked(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(Banner, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabel24)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel26))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 318, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(PaginaStatus, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(PaginaStatusService, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(textoLivre, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(PressGO, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(TesteCor, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(Rename, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(Egre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(Anular, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(Paper, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(jLabel25, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(Banner, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addGap(12, 12, 12)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel24, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabel26, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton1))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(textoLivre, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(PaginaStatusService, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(PaginaStatus, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(Anular, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(TesteCor, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(Rename, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(PressGO, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(Egre, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(Paper, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 37, Short.MAX_VALUE)
                .addComponent(jLabel25)
                .addContainerGap())
        );

        setSize(new java.awt.Dimension(836, 653));
        setLocationRelativeTo(null);
    }// </editor-fold>//GEN-END:initComponents

    private void PaginaStatusMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_PaginaStatusMouseEntered
        PaginaStatus.setBackground(new Color(255, 255, 204));
        PaginaStatusService.setBackground(Color.white);
        textoLivre.setBackground(Color.white);
        TesteCor.setBackground(Color.white);
        Rename.setBackground(Color.white);
        Anular.setBackground(Color.white);
        PressGO.setBackground(Color.white);
        Egre.setBackground(Color.white);
        Paper.setBackground(Color.white);
    }//GEN-LAST:event_PaginaStatusMouseEntered

    private void PaginaStatusServiceMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_PaginaStatusServiceMouseEntered
        PaginaStatus.setBackground(Color.white);
        PaginaStatusService.setBackground(new Color(255, 255, 204));
        textoLivre.setBackground(Color.white);
        TesteCor.setBackground(Color.white);
        Rename.setBackground(Color.white);
        Anular.setBackground(Color.white);
        PressGO.setBackground(Color.white);
        Egre.setBackground(Color.white);
    }//GEN-LAST:event_PaginaStatusServiceMouseEntered

    private void BannerMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_BannerMouseEntered
        PaginaStatus.setBackground(Color.white);
        PaginaStatusService.setBackground(Color.white);
        TesteCor.setBackground(Color.white);
        Rename.setBackground(Color.white);
        Anular.setBackground(Color.white);
        PressGO.setBackground(Color.white);
        Egre.setBackground(Color.white);
        Paper.setBackground(Color.white);
    }//GEN-LAST:event_BannerMouseEntered

    private void textoLivreMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_textoLivreMouseEntered
        textoLivre.setBackground(new Color(255, 255, 204));
        PaginaStatus.setBackground(Color.white);
        PaginaStatusService.setBackground(Color.white);
        TesteCor.setBackground(Color.white);
        Rename.setBackground(Color.white);
        Anular.setBackground(Color.white);
        PressGO.setBackground(Color.white);
        Egre.setBackground(Color.white);
        Paper.setBackground(Color.white);
    }//GEN-LAST:event_textoLivreMouseEntered

    private void TesteCorMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_TesteCorMouseEntered
        TesteCor.setBackground(new Color(255, 255, 204));
        textoLivre.setBackground(Color.white);
        PaginaStatus.setBackground(Color.white);
        PaginaStatusService.setBackground(Color.white);
        Rename.setBackground(Color.white);
        Anular.setBackground(Color.white);
        PressGO.setBackground(Color.white);
        Egre.setBackground(Color.white);
        Paper.setBackground(Color.white);
    }//GEN-LAST:event_TesteCorMouseEntered

    private void RenameMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_RenameMouseEntered
        Rename.setBackground(new Color(255, 255, 204));
        TesteCor.setBackground(Color.white);
        textoLivre.setBackground(Color.white);
        PaginaStatus.setBackground(Color.white);
        PaginaStatusService.setBackground(Color.white);
        Anular.setBackground(Color.white);
        PressGO.setBackground(Color.white);
        Egre.setBackground(Color.white);
        Paper.setBackground(Color.white);
    }//GEN-LAST:event_RenameMouseEntered

    private void AnularMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_AnularMouseEntered
        Anular.setBackground(new Color(255, 255, 204));
        Rename.setBackground(Color.white);
        TesteCor.setBackground(Color.white);
        textoLivre.setBackground(Color.white);
        PaginaStatus.setBackground(Color.white);
        PaginaStatusService.setBackground(Color.white);
        PressGO.setBackground(Color.white);
        Egre.setBackground(Color.white);
        Paper.setBackground(Color.white);
    }//GEN-LAST:event_AnularMouseEntered

    private void PressGOMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_PressGOMouseEntered
        PressGO.setBackground(new Color(255, 255, 204));
        Anular.setBackground(Color.white);
        Rename.setBackground(Color.white);
        TesteCor.setBackground(Color.white);
        textoLivre.setBackground(Color.white);
        PaginaStatus.setBackground(Color.white);
        PaginaStatusService.setBackground(Color.white);
        Egre.setBackground(Color.white);
        Paper.setBackground(Color.white);
    }//GEN-LAST:event_PressGOMouseEntered

    private void EgreMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_EgreMouseEntered
        Egre.setBackground(new Color(255, 255, 204));
        PressGO.setBackground(Color.white);
        Anular.setBackground(Color.white);
        Rename.setBackground(Color.white);
        TesteCor.setBackground(Color.white);
        textoLivre.setBackground(Color.white);
        PaginaStatus.setBackground(Color.white);
        PaginaStatusService.setBackground(Color.white);
        Paper.setBackground(Color.white);
    }//GEN-LAST:event_EgreMouseEntered

    private void PaperMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_PaperMouseEntered
        Paper.setBackground(new Color(255, 255, 204));
        Egre.setBackground(Color.white);
        PressGO.setBackground(Color.white);
        Anular.setBackground(Color.white);
        Rename.setBackground(Color.white);
        TesteCor.setBackground(Color.white);
        textoLivre.setBackground(Color.white);
        PaginaStatus.setBackground(Color.white);
        PaginaStatusService.setBackground(Color.white);
    }//GEN-LAST:event_PaperMouseEntered

    private void jLabel19MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel19MouseClicked
        Login login = new Login();
        login.setVisible(true);
    }//GEN-LAST:event_jLabel19MouseClicked

    private void PaginaStatusMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_PaginaStatusMouseClicked
        Engine eng = new Engine();
        if ("".equals(Principal_.jTextField1.getText())) {
            JOptionPane.showMessageDialog(rootPane, "Digite um IP válido.");
        } else if (Principal_.jTextField1.isEnabled() && Principal_.jTextField1.isEditable()) {
            eng.command(eng.statusPage(), Principal_.jTextField1.getText());
        } else {
            eng.commandShared(eng.statusPage());
        }
    }//GEN-LAST:event_PaginaStatusMouseClicked

    private void TesteCorMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_TesteCorMouseClicked
        Engine eng = new Engine();
        if ("".equals(Principal_.jTextField1.getText())) {
            JOptionPane.showMessageDialog(rootPane, "Digite um IP válido.");
        } else if (Principal_.jTextField1.isEnabled() && Principal_.jTextField1.isEditable()) {
            eng.command(eng.testPattern(), Principal_.jTextField1.getText());
        } else {
            eng.commandShared(eng.testPattern());
        }
    }//GEN-LAST:event_TesteCorMouseClicked

    private void PaginaStatusServiceMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_PaginaStatusServiceMouseClicked
        Engine eng = new Engine();
        if ("".equals(Principal_.jTextField1.getText())) {
            JOptionPane.showMessageDialog(rootPane, "Digite um IP válido.");
        } else if (Principal_.jTextField1.isEnabled() && Principal_.jTextField1.isEditable()) {
            eng.command(eng.serviceStatusPage(), Principal_.jTextField1.getText());
        } else {
            eng.commandShared(eng.serviceStatusPage());
        }
    }//GEN-LAST:event_PaginaStatusServiceMouseClicked

    private void textoLivreMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_textoLivreMouseClicked
        Engine eng = new Engine();
        if ("".equals(Principal_.jTextField1.getText())) {
            JOptionPane.showMessageDialog(rootPane, "Digite um IP válido.");
        } else if (Principal_.jTextField1.isEnabled() && Principal_.jTextField1.isEditable()) {
            eng.command(eng.text(JOptionPane.showInputDialog(null, "Digite o texto que deseja ser impresso.")), Principal_.jTextField1.getText());
        } else {
            eng.commandShared(eng.text(JOptionPane.showInputDialog(null, "Digite o texto que deseja ser impresso.")));
        }
    }//GEN-LAST:event_textoLivreMouseClicked

    private void RenameMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_RenameMouseClicked
        Engine eng = new Engine();
        if ("".equals(Principal_.jTextField1.getText())) {
            JOptionPane.showMessageDialog(rootPane, "Digite um IP válido.");
        } else if (Principal_.jTextField1.isEnabled() && Principal_.jTextField1.isEditable()) {
            eng.command(eng.originalName(), Principal_.jTextField1.getText());
        } else {
            eng.commandShared(eng.originalName());
        }
    }//GEN-LAST:event_RenameMouseClicked

    private void AnularMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_AnularMouseClicked
        Engine eng = new Engine();
        if ("".equals(Principal_.jTextField1.getText())) {
            JOptionPane.showMessageDialog(rootPane, "Digite um IP válido.");
        } else if (Principal_.jTextField1.isEnabled() && Principal_.jTextField1.isEditable()) {
            eng.command(eng.A4_LetterAnulate(), Principal_.jTextField1.getText());
        } else {
            eng.commandShared(eng.A4_LetterAnulate());
        }
    }//GEN-LAST:event_AnularMouseClicked

    private void PressGOMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_PressGOMouseClicked
        Engine eng = new Engine();
        if ("".equals(Principal_.jTextField1.getText())) {
            JOptionPane.showMessageDialog(rootPane, "Digite um IP válido.");
        } else if (Principal_.jTextField1.isEnabled() && Principal_.jTextField1.isEditable()) {
            eng.command(eng.pressGOAnulate(), Principal_.jTextField1.getText());
        } else {
            eng.commandShared(eng.pressGOAnulate());
        }
    }//GEN-LAST:event_PressGOMouseClicked

    private void EgreMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_EgreMouseClicked
        Engine eng = new Engine();
        if ("".equals(Principal_.jTextField1.getText())) {
            JOptionPane.showMessageDialog(rootPane, "Digite um IP válido.");
        } else if (Principal_.jTextField1.isEnabled() && Principal_.jTextField1.isEditable()) {
            eng.command(eng.resetAll(), Principal_.jTextField1.getText());
        } else {
            eng.commandShared(eng.resetAll());
        }
    }//GEN-LAST:event_EgreMouseClicked

    private void PaperMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_PaperMouseClicked
        PapelConf pc = new PapelConf();
        if ("".equals(Principal_.jTextField1.getText())) {
            JOptionPane.showMessageDialog(rootPane, "Digite um IP válido.");
        } else {
            pc.setVisible(true);
        }
    }//GEN-LAST:event_PaperMouseClicked

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        Engine eng = new Engine();
        eng.map();
    }//GEN-LAST:event_jButton1ActionPerformed

    private void jLabel26MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel26MouseClicked
        Engine eng = new Engine();
        eng.unMap();
    }//GEN-LAST:event_jLabel26MouseClicked

    private void jLabel1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel1MouseClicked
        Sobre sb = new Sobre();
        sb.getContentPane().setBackground(Color.white);
        sb.setVisible(true);
    }//GEN-LAST:event_jLabel1MouseClicked

    public static void main(String args[]) {

        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Principal_.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Principal_.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Principal_.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Principal_.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Principal_().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel Anular;
    private javax.swing.JPanel Banner;
    private javax.swing.JPanel Egre;
    private javax.swing.JPanel PaginaStatus;
    private javax.swing.JPanel PaginaStatusService;
    private javax.swing.JPanel Paper;
    private javax.swing.JPanel PressGO;
    private javax.swing.JPanel Rename;
    private javax.swing.JPanel TesteCor;
    private javax.swing.JButton jButton1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    public static javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    public static javax.swing.JTextField jTextField1;
    private javax.swing.JPanel textoLivre;
    // End of variables declaration//GEN-END:variables
}
